%@LANGUAGE="VBSCRIPT" CODEPAGE="932"%>
<%
chk = Request.Cookies("panpas")("nishou")
'If chk <> "OK" Then
'Response.Redirect "index.asp"
'End If
Set i = Request.QueryString("PageNum")
i = CInt(i)
If i = "" Then
i = 0
End If
%>
クスノキ長屋 〜写真集〜
<%
'パラメータを取得します。
myfolder = Request.QueryString("dirname")
dirname = Server.Mappath(".")
dirname = dirname & "\pictures\" & myfolder & "\"
'配列関数の定義
Function array_a(value)
length = Len (value) - 1
trim_s = Right(value,length)
array_a = Split(trim_s,":")
End Function
Set ObjFSO = Server.CreateObject("Scripting.FileSystemObject")
Set ObjFolder = ObjFSO.GetFolder(dirname)
'ファイル名とファイル数の取得
Set ColFiles = ObjFolder.Files
FileNum = ColFiles.Count
'ファイルを配列にぶち込む
For Each f in ColFiles
If f.Name <> "disp.asp" Then
images = images & ":" & f.Name
End If
Next
imagesarray = array_a(images)
'イメージの表示
'For i = 0 to (FileNum - 2)
'If FileNum = PageNum Then
'End If
Lim = CInt(FileNum - 1)
next_p = "